|
Public Member Functions |
| | TMesh () |
| virtual | ~TMesh () |
| void | BuildMesh (const FacetMesh *facetMesh) |
| void | CreateFacetMesh (FacetMesh **outMesh, boolean needsUV, boolean needsFacetColors, boolean needsVertexColors) |
| void | TriangulateMesh () |
| void | GenerateNormals () |
| void | HarmonizePolygonsUVs () |
| void | HarmonizeQuadsUVs () |
| virtual void | AllocateVertices (uint32 vertexCount, boolean allocateEdges, boolean allocatePolygons, boolean allocateUVs, boolean allocateNormals) |
| void | AllocateVertexColors () |
| virtual void | CopyVertices (const TMesh &fromMesh) |
| void | AllocateBarycentricCoordinates (boolean allocate) |
| | Adds barycentric coordinates for each vertex.
|
| boolean | HasBarycentricCoordinates () const |
| void | AllocateEdges (int32 edgeCount) |
| virtual void | AllocatePolygons (int32 polygonCount) |
| void | AddPolygon (const TMCArray< TVertexUV > &vertices, const TMCArray< boolean > &edgeCrease, const int32 shadingDomainID, const boolean hidden) |
| void | AddPolygon (const TMCArray< TVertexUV > &vertices, const int32 shadingDomainID, const boolean hidden) |
| void | AddPolygon (const TMCArray< TVertexUV > &vertices, const TMCArray< int32 > &edges, const int32 shadingDomainID, const boolean hidden) |
| void | AddQuad (const TMCArray< TVertexUV > &verticesUV, const TMCArray< boolean > &edgeCrease, const int32 shadingDomainID, const boolean hidden) |
| int32 | AddEdgeLowLevel (TIndex2 &vertices, const boolean creased) |
| int32 | AddEdge (const int32 vertexIndex0, const int32 vertexIndex1, boolean creased) |
| void | RemovePolygon (const int32 polygonIndex) |
| void | RemoveEdge (const int32 edgeIndex) |
| void | CreaseEdges (const real smoothingAngle) |
| void | InvalidateNormals () |
| void | SwapPolygonArray () |
| void | SetEdgeCount (int32 edgeCount) |
| int32 | GetPolygonCount () const |
| TPolygon & | GetPolygon (uint32 polygonIndex) |
| TMCClassArray< TPolygon > & | GetPolygons () |
| const TPolygon & | GetPolygon (uint32 polygonIndex) const |
| int32 | GetEdgeCount () const |
| const TEdge & | GetEdge (uint32 edgeIndex) const |
| TEdge & | GetEdge (uint32 edgeIndex) |
| int32 | GetVertexCount () const |
| TVertex | GetVertex (uint32 vertexIndex) |
| TConstVertex | GetVertex (uint32 vertexIndex) const |
| void | SetWrapping (boolean wrapU, boolean wrapV) |
| void | SetVertex (int32 index, const TVector3 &position, const TMCClassArray< TVector2 > &uv, int32 edgeCount) |
| TVertexArray & | GetVertices () |
| const TVertexArray & | GetVertices () const |
| TMCClassArray< TEdge > & | GetEdges () |
| const TMCClassArray< TEdge > & | GetEdges () const |
| TMCArray< boolean > & | GetWrapping () |
Protected Member Functions |
| int32 | AddPolygonLowLevel (const TMCArray< TVertexUV > &vertices, const int32 shadingDomainID, const boolean hidden) |
| virtual void | AddOnePolygon () |
Protected Attributes |
| TVertexArray | fVertices |
| TMCClassArray< TEdge > | fEdges |
| TMCClassArray< TPolygon > | fPolygons |
| TMCClassArray< TQuad > | fQuads |
| TMCArray< int32 > | fDeletedEdges |
| TMCArray< int32 > | fDeletedPolygons |
| TMCArray< boolean > | fWrapping |
| boolean | fNormalsValid |